import { ref } from "vue"
import { ArticleItem } from "../models/articleList"

export const useArticle = () => {
  const state = ref<{
    data:ArticleItem[],
    loading:boolean,
    total:number,
  }>({
    data:[],
    loading:false,
    total:0
  })

  const handleInit = () => {

  }


  return {
    state,
    handleInit,
  }
}